<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>南科大线下学堂后台管理系统</title>
    <link rel="stylesheet" href="css/pintuer.css">
    <link rel="stylesheet" href="css/admin.css">
    <script src="js/jquery.js"></script>   
</head>
<body style="background-color:#f2f9fd;">
<div class="header bg-main">
  <div class="logo margin-big-left fadein-top">
    <h1 style="float:left">
        <a href="/sms/offlineSchool/UserServlet.do?method=logout">
            <img src="images/image.jpg" class="radius-circle rotate-hover" height="50" alt="" />
        </a>
	南科大线下学堂后台管理系统</h1>
  </div>
</div>
<div class="leftnav">
  <div class="leftnav-title"><strong><span class="icon-list"></span>菜单列表</strong></div>  
  <h2><span class="icon-user"></span>班级管理</h2>
    <c:if test="${sessionScope.user.identity==1}">
        <ul style="display:block">
            <li><a href="saveClass.html" target="right"><span class="icon-caret-right"></span>添加班级</a></li>
            <li><a href="listClass.html" target="right"><span class="icon-caret-right"></span>展示班级</a></li>
            <li><a href="stuCount.html" target="right"><span class="icon-caret-right"></span>各班人数</a></li>
        </ul>
        <h2><span class="icon-user"></span>学生管理</h2>
        <ul style="display:block">
            <li><a href="saveStudent.html" target="right"><span class="icon-caret-right"></span>添加学生</a></li>
            <li><a href="listStudent.html" target="right"><span class="icon-caret-right"></span>展示学生</a></li>
        </ul>
        <h2><span class="icon-user"></span>教师管理</h2>
        <ul style="display:block">
            <li><a href="saveTeacher.html" target="right"><span class="icon-caret-right"></span>添加教师</a></li>
            <li><a href="listTeacher.html" target="right"><span class="icon-caret-right"></span>展示教师</a></li>
        </ul>
    </c:if>
    <c:if test="${sessionScope.user.identity==2}">
        <ul style="display:block">
            <li><a href="saveClass.html" target="right"><span class="icon-caret-right"></span>添加班级</a></li>
            <li><a href="listClass.html" target="right"><span class="icon-caret-right"></span>展示班级</a></li>
            <li><a href="stuCount.html" target="right"><span class="icon-caret-right"></span>各班人数</a></li>
        </ul>
    </c:if>
  
  
  
</div>
<script type="text/javascript">
$(function(){
  $(".leftnav h2").click(function(){
	  $(this).next().slideToggle(200);	
	  $(this).toggleClass("on"); 
  })
  $(".leftnav ul li a").click(function(){
	    $("#a_leader_txt").text($(this).text());
  		$(".leftnav ul li a").removeClass("on");
		$(this).addClass("on");
  })
});
</script>
<ul class="bread">
  <li><a href="{:U('Index/info')}" target="right" class="icon-home"> 首页</a></li>
  <li><a href="##" id="a_leader_txt">网站信息</a></li>
  <li><b>当前语言：</b><span style="color:red;">中文</php></span>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;切换语言：<a href="##">中文</a> &nbsp;&nbsp;<a href="##">英文</a> </li>
</ul>
<div class="admin">
  <iframe scrolling="auto" rameborder="0" src="saveClass.html" name="right" width="100%" height="100%"></iframe>
</div>
<div style="text-align:center;">
</div>
</body>
</html>